package com.framework.file.model;

import com.framework.common.listener.impl.BaseEntityUpdate;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

@Data
@Entity
@Table(name = "sys_file_folder")
@org.hibernate.annotations.Table(appliesTo = "sys_file_folder", comment = "文件夹系统表")
public class SysFileFolder extends BaseEntityUpdate {
    @Column(columnDefinition = "varchar(255) COMMENT '文件名字'")
    private String name;

    @Column(columnDefinition = "varchar(32) COMMENT '文件所属模块'")
    private String module;

    @Column(columnDefinition = "varchar(1) COMMENT '必填'")
    private String required;

    @Column(columnDefinition = "varchar(1) COMMENT '是否删除'")
    private int isDelete;

    @Column(columnDefinition = "int COMMENT '排序'")
    private int sort;
}
